package com.vert.auth.model;

import com.vert.db.annotations.ID;
import com.vert.db.annotations.Table;
import com.vert.db.annotations.TableField;

import java.util.Date;

/**
 * @Classname UserModel
 * @Description TODO
 * @Date 2022/5/29 14:51
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Table("sys_user")
public class UserModel {

  /**
   * id
   */
  @ID
  private Integer id;
  /**
   * 账号
   */
  @TableField("username")
  private String username;
  /**
   * 密码
   */
  @TableField("password")
  private String password;
  /**
   * 手机号
   */
  @TableField("phone")
  private String phone;
  /**
   * 创建时间
   */
  @TableField("createdate")
  private Date createDate;
  /**
   * 拓展字段1
   */
  private String Ext1;
  /**
   * 拓展字段2
   */
  private String Ext3;

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getExt1() {
    return Ext1;
  }

  public void setExt1(String ext1) {
    Ext1 = ext1;
  }

  public String getExt3() {
    return Ext3;
  }

  public void setExt3(String ext3) {
    Ext3 = ext3;
  }
}
